package com.example.lesson


enum class State {
    PLAYBACK {
        override fun stateName(): String {
            return "有回放"
        }
    },
    LIVE {
        override fun stateName(): String {
            return "正在直播"
        }
    },
    WAIT {
        override fun stateName(): String {
            return "等待中"
        }
    };

    abstract fun stateName(): String
}

data class Lesson(val data: String, val content: String, val state: State)